//
//  WJLiveCourseItemModel.h
//  LEEAlertDemo
//
//  Created by 李响 on 2017/6/4.
//  Copyright © 2017年 lee. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WJLiveCourseItemModel : NSObject

// ------- 常用字段 ----
@property (nonatomic , assign)NSInteger ID;
@property (nonatomic , copy ) NSString *title;
@property (nonatomic , copy ) NSString *price;
@property (nonatomic , copy ) NSString *buystate;
@property (nonatomic , assign) BOOL isSel;




/**
 计算Items相加价格

 @param priceArr priceArr description
 @return 返回保留小数点后两位的字符串
 */
+(NSString *)sumPrice:(NSArray <WJLiveCourseItemModel*>*)priceArr;

+(NSString *)idAppendId:(NSArray <WJLiveCourseItemModel*>*)ids withSeparator:(NSString *)separator;

@end
